<?php
	/* Description: This file is used to add sub sub category. */
	#########IncludeFiles####################################################################################
	include_once '../inc/config.php';
	include_once("../inc/bootstrape.php");
	require_once _SITE_PATH_.'classes/Vendor/Vendor.php';
	require_once _SITE_PATH_.'classes/Master/Master.php';
	require_once _SITE_PATH_.'classes/CommonUtility/CommonUtility.php';

	if( $_POST['submit']=='Submit'){   
		$parms['zone'] = $_POST['zone'];
		$parms['description'] = $_POST['description'];
					
		if( CommonUtility::insertData($parms, 'zone_master')) {        
			header("Location: zone_mng.php?msg=1434");            
			exit;
		}
		$err = 1435;    
	}

	$editor = CommonUtility::includeEditor();

	$errMsg = $err;
	$_tplName = 'master/zone_add.tpl';
	$_title = 'Add Zone';

	require_once _ADMIN_TPL_MAIN_;
?>